翻訳と辞書
Words near each other
・ Extended warranty
・ Extended West Papuan languages
・ Extended Window Manager Hints
・ EXtended WordNet
・ Extended X-ray absorption fine structure
・ Extended-hours trading
・ Extended-range bass
・ Extended-spectrum penicillin
・ Extended-wear hearing aid
・ ExtendedancEPlay
・ Extender
・ Extender (ink)
・ Extender (set theory)
・ Extendible bond
・ Extendible cardinal
Extendible hashing
・ Extendicare
・ ExtendScript
・ ExtendSim
・ Extengineering
・ Extensa
・ Extensibility
・ Extensibility pattern
・ Extensible Application Markup Language
・ Extensible Authentication Protocol
・ Extensible Binary Meta Language
・ Extensible Computational Chemistry Environment
・ Extensible Configuration Checklist Description Format
・ Extensible Data Format
・ Extensible Data Notation


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Extendible hashing : ウィキペディア英語版
Extendible hashing
Extendible hashing is a type of hash system which treats a hash as a bit string, and uses a trie for bucket lookup. Because of the hierarchical nature of the system, re-hashing is an incremental operation (done one bucket at a time, as needed). This means that time-sensitive applications are less affected by table growth than by standard full-table rehashes.
==Example==

Assume that the hash function h(k) returns a binary number. The first i bits of each string will be used as indices to figure out where they will go in the "directory" (hash table). Additionally, i is the smallest number such that the first i bits of all keys are different.
Keys to be used:
h(k_1) = 100100
h(k_2) = 010110
h(k_3) = 110110
Let's assume that for this particular example, the bucket size is 1. The first two keys to be inserted, k1 and k2, can be distinguished by the most significant bit, and would be inserted into the table as follows:
Now, if k3 were to be hashed to the table, it wouldn't be enough to distinguish all three keys by one bit (because k3 and k1 have 1 as their leftmost bit. Also, because the bucket size is one, the table would overflow. Because comparing the first two most significant bits would give each key a unique location, the directory size is doubled as follows:
And so now k1 and k3 have a unique location, being distinguished by the first two leftmost bits. Because k2 is in the top half of the table, both 00 and 01 point to it because there is no other key to compare to that begins with a 0.
The above example is from .

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Extendible hashing」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.